package com.zzc.service.serviceImpl;

import com.zzc.dao.AdminMapper;
import com.zzc.pojo.Admin;
import com.zzc.service.AdminService;

import java.util.List;

public class AdminServiceImp implements AdminService {

    private AdminMapper adminMapper;

    public void setAdminMapper(AdminMapper adminMapper) {
        this.adminMapper = adminMapper;
    }

    @Override
    public List<Admin> getAdmins() {
        return adminMapper.getAdmins();
    }
}
